﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Products.aspx.cs" Inherits="Design.WebForm1" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table class="style32">
        <tr>
            <td class="style43">
                <asp:Label ID="Label1" runat="server" Font-Size="X-Large" ForeColor="#FF6600" 
                    Text="Products"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style43">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <%--        </tr>
        <tr>--%>
            <td class="style24">
                &nbsp;</td>
            <td class="style34">
                <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" 
                    Width="562px" BorderColor="Silver" RepeatColumns="3" 
                    RepeatDirection="Horizontal" onitemcommand="DataList1_ItemCommand">
                    <ItemTemplate>
                        &nbsp;<asp:Image ID="Image2" runat="server" Width="100px" Height="100px" 
                            ImageUrl='<%# Eval("image") %>' />
                        <br />
                        Name:
                        <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
                        <br />
                        Price:
                        <asp:Label ID="PriceLabel" runat="server" 
                            Text='<%# Eval("Price") %>' />
                        <br />
                        Description:
                        <asp:Label ID="DescriptionLabel" runat="server" 
                            Text='<%# Eval("Description") %>' />
                        <br />
                        <asp:Label ID="EquipIDLabel" runat="server" Text='<%# Eval("Equip_ID") %>'></asp:Label>
                        <br />
                        <asp:Button ID="btnCart" runat="server" 
                            Text="Add To Cart" OnCommand="DataList1_ItemCommand" />
                        <br />
<br />
                    </ItemTemplate>
                </asp:DataList>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    SelectMethod="get_equipment_even_by_id" TypeName="BusinessLayer.UpdateEquip">
                </asp:ObjectDataSource>
            </td>
            <td class="style38">
                <asp:Label ID="lbltest" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        </table>

</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
    <style type="text/css">
    .style22
    {
        width: 100%;
    }
        .style32
        {
            width: 100%;
        }
        .style34
        {
        }
        .style38
        {
            width: 210px;
            text-align: right;
        }
        .style43
        {
            height: 20px;
        }
    </style>
</asp:Content>

